package com.charmzenus.it.member.controller;


import com.charmzenus.it.common.dto.response.BaseResponseDTO;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/member")
public class MemberController {

    @PostMapping("/getList")
    public BaseResponseDTO<String> getList() {

        try {
            Thread.sleep(2000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        String data = "hello";

        BaseResponseDTO<String> dto = new BaseResponseDTO<>();

        dto.setData(data);
        return dto;
    }
}
